package com.zhong.gang.applib.ui.matching;

import java.io.Serializable;

public class MatchingBean implements Serializable {

    /**
     * consignor : {"id":1,"createTime":"2019-12-18T06:29:41.000+0000","updateTime":"2019-12-18T06:29:41.000+0000","version":0,"deleted":false,"createTimestamp":1576650581000,"updateTimestamp":1576650581000,"phone":"18580408661","name":"袁贵权","saltValue":null,"password":null,"token":"token_E487A9DB0E7D44B28A79DD2C5746C318","qrcodeUrl":"http://zgtrade.oss-cn-zhangjiakou.aliyuncs.com/files/6tl0nup7tn6wayj5c6le.png"}
     * consignorBankCard : {"id":1,"createTime":"2019-12-24T08:52:39.000+0000","updateTime":"2019-12-24T08:52:39.000+0000","version":0,"deleted":false,"createTimestamp":1577177559000,"updateTimestamp":1577177559000,"consignorId":1,"type":0,"realName":"袁贵权","idCardNum":"500243199107131597","idCardPhotoPerson":"aa","idCardPhotoCountry":"aa","bankName":"招商银行","bankDetailCity":"1","bankBranchName":"1","bankDetailAddr":"1","bankCardNum":"1","bankCardPhotoNum":"1","defaults":true,"bankCardId":1,"provinceId":1,"cityId":1,"branchBankId":1}
     */

    private ConsignorBean consignor;
    private ConsignorBankCardBean consignorBankCard;
    private String remark;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public ConsignorBean getConsignor() {
        if (consignor == null)
            consignor = new ConsignorBean();
        return consignor;
    }

    public void setConsignor(ConsignorBean consignor) {
        this.consignor = consignor;
    }

    public ConsignorBankCardBean getConsignorBankCard() {
        if (consignorBankCard == null)
            consignorBankCard = new ConsignorBankCardBean();
        return consignorBankCard;
    }

    public void setConsignorBankCard(ConsignorBankCardBean consignorBankCard) {
        this.consignorBankCard = consignorBankCard;
    }

    public static class ConsignorBean implements Serializable{
        /**
         * id : 1
         * createTime : 2019-12-18T06:29:41.000+0000
         * updateTime : 2019-12-18T06:29:41.000+0000
         * version : 0
         * deleted : false
         * createTimestamp : 1576650581000
         * updateTimestamp : 1576650581000
         * phone : 18580408661
         * name : 袁贵权
         * saltValue : null
         * password : null
         * token : token_E487A9DB0E7D44B28A79DD2C5746C318
         * qrcodeUrl : http://zgtrade.oss-cn-zhangjiakou.aliyuncs.com/files/6tl0nup7tn6wayj5c6le.png
         */

        private int id;
        private String createTime;
        private String updateTime;
        private int version;
        private boolean deleted;
        private long createTimestamp;
        private long updateTimestamp;
        private String phone;
        private String name;
        private Object saltValue;
        private Object password;
        private String token;
        private String qrcodeUrl;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getVersion() {
            return version;
        }

        public void setVersion(int version) {
            this.version = version;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public long getCreateTimestamp() {
            return createTimestamp;
        }

        public void setCreateTimestamp(long createTimestamp) {
            this.createTimestamp = createTimestamp;
        }

        public long getUpdateTimestamp() {
            return updateTimestamp;
        }

        public void setUpdateTimestamp(long updateTimestamp) {
            this.updateTimestamp = updateTimestamp;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Object getSaltValue() {
            return saltValue;
        }

        public void setSaltValue(Object saltValue) {
            this.saltValue = saltValue;
        }

        public Object getPassword() {
            return password;
        }

        public void setPassword(Object password) {
            this.password = password;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getQrcodeUrl() {
            return qrcodeUrl;
        }

        public void setQrcodeUrl(String qrcodeUrl) {
            this.qrcodeUrl = qrcodeUrl;
        }
    }

    public static class ConsignorBankCardBean implements  Serializable{
        /**
         * id : 1
         * createTime : 2019-12-24T08:52:39.000+0000
         * updateTime : 2019-12-24T08:52:39.000+0000
         * version : 0
         * deleted : false
         * createTimestamp : 1577177559000
         * updateTimestamp : 1577177559000
         * consignorId : 1
         * type : 0
         * realName : 袁贵权
         * idCardNum : 500243199107131597
         * idCardPhotoPerson : aa
         * idCardPhotoCountry : aa
         * bankName : 招商银行
         * bankDetailCity : 1
         * bankBranchName : 1
         * bankDetailAddr : 1
         * bankCardNum : 1
         * bankCardPhotoNum : 1
         * defaults : true
         * bankCardId : 1
         * provinceId : 1
         * cityId : 1
         * branchBankId : 1
         */

        private int id;
        private String createTime;
        private String updateTime;
        private int version;
        private boolean deleted;
        private long createTimestamp;
        private long updateTimestamp;
        private int consignorId;
        private int type;
        private String realName;
        private String idCardNum;
        private String idCardPhotoPerson;
        private String idCardPhotoCountry;
        private String bankName;
        private String bankDetailCity;
        private String bankBranchName;
        private String bankDetailAddr;
        private String bankCardNum;
        private String bankCardPhotoNum;
        private boolean defaults;
        private int bankCardId;
        private int provinceId;
        private int cityId;
        private int branchBankId;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getVersion() {
            return version;
        }

        public void setVersion(int version) {
            this.version = version;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public long getCreateTimestamp() {
            return createTimestamp;
        }

        public void setCreateTimestamp(long createTimestamp) {
            this.createTimestamp = createTimestamp;
        }

        public long getUpdateTimestamp() {
            return updateTimestamp;
        }

        public void setUpdateTimestamp(long updateTimestamp) {
            this.updateTimestamp = updateTimestamp;
        }

        public int getConsignorId() {
            return consignorId;
        }

        public void setConsignorId(int consignorId) {
            this.consignorId = consignorId;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getRealName() {
            return realName;
        }

        public void setRealName(String realName) {
            this.realName = realName;
        }

        public String getIdCardNum() {
            return idCardNum;
        }

        public void setIdCardNum(String idCardNum) {
            this.idCardNum = idCardNum;
        }

        public String getIdCardPhotoPerson() {
            return idCardPhotoPerson;
        }

        public void setIdCardPhotoPerson(String idCardPhotoPerson) {
            this.idCardPhotoPerson = idCardPhotoPerson;
        }

        public String getIdCardPhotoCountry() {
            return idCardPhotoCountry;
        }

        public void setIdCardPhotoCountry(String idCardPhotoCountry) {
            this.idCardPhotoCountry = idCardPhotoCountry;
        }

        public String getBankName() {
            return bankName;
        }

        public void setBankName(String bankName) {
            this.bankName = bankName;
        }

        public String getBankDetailCity() {
            return bankDetailCity;
        }

        public void setBankDetailCity(String bankDetailCity) {
            this.bankDetailCity = bankDetailCity;
        }

        public String getBankBranchName() {
            return bankBranchName;
        }

        public void setBankBranchName(String bankBranchName) {
            this.bankBranchName = bankBranchName;
        }

        public String getBankDetailAddr() {
            return bankDetailAddr;
        }

        public void setBankDetailAddr(String bankDetailAddr) {
            this.bankDetailAddr = bankDetailAddr;
        }

        public String getBankCardNum() {
            return bankCardNum;
        }

        public void setBankCardNum(String bankCardNum) {
            this.bankCardNum = bankCardNum;
        }

        public String getBankCardPhotoNum() {
            return bankCardPhotoNum;
        }

        public void setBankCardPhotoNum(String bankCardPhotoNum) {
            this.bankCardPhotoNum = bankCardPhotoNum;
        }

        public boolean isDefaults() {
            return defaults;
        }

        public void setDefaults(boolean defaults) {
            this.defaults = defaults;
        }

        public int getBankCardId() {
            return bankCardId;
        }

        public void setBankCardId(int bankCardId) {
            this.bankCardId = bankCardId;
        }

        public int getProvinceId() {
            return provinceId;
        }

        public void setProvinceId(int provinceId) {
            this.provinceId = provinceId;
        }

        public int getCityId() {
            return cityId;
        }

        public void setCityId(int cityId) {
            this.cityId = cityId;
        }

        public int getBranchBankId() {
            return branchBankId;
        }

        public void setBranchBankId(int branchBankId) {
            this.branchBankId = branchBankId;
        }
    }
}
